# -*- coding: utf-8 -*-
${h.start_form(h.url_for("save object"))}
	<table>
	%for field in c.form_fields:
		<tr>
			<td>${field.name} ${field.body} 
				% if field.edit_path:
					<a href="/admin/${field.edit_path}/${field.edit_id}">edit</a>
				% endif
			</td>
		</tr>
	%endfor
	
	${h.hidden_field('_model_name', value=c.model_name)}
	${h.hidden_field('_model_object_id', value=c.model_object_id)}

	</table>
	${h.submit()}
${h.end_form()}